By rpandey1 on
Hi,
I am a new to Drupal. I want a menu with dropdown for child pages. I installed nice menus module but how do I replace the menu created by my theme automatically. I am using fourseasons theme. It automatically creates a menu with my primary links. I want to replace it with nice menus.
Will appreciate some help.
Comments
Nice Menu
Hi rpandey,
You can turn off the Primary and Secondary menu's in the theme by going into your Administration > Site Building > Themes, click on the configure link next to 4 seasons, and de-select Primary links and Secondary links in the check boxes on that page. Note that this is a theme based setting.
To enable Nice Menu go to Administration > Site Building > Blocks. In the list of blocks on that page you should see Nice Menu 1 & 2. Click and drag them to the, theme defined, block region you desire. Note that block locations are also a theme based setting.
Unfortunately the Four Seasons theme doesn't support blocks where the primary and secondary menus were/are located. So you won't be able to put a Nice Menu there if you are using that theme. There might be other themes that have block regions in places that you are looking for, or you can settle for the Nice Menu in some region that Four Seasons provides.
If this doesn't satisfy you, let me know, I can look around for other solutions.
~Lindsay
Hi Lindsay, Thanks for your
Hi Lindsay,
Thanks for your reply.
However I worked it around for four seasons theme.
I changed theme('links', $primary_links) to theme('nice_menu_primary_links', $primary_links) in the page.tpl.php and it worked.
But now I am struggling for changing some of the css of nice menu. Like I want the font little bigger but could not find where to fix it.
rpandey
Font Changes in Four Seasons
Hi again rpandey1,
You can set the default font size in the style.css file. Just go to where you saved your Four Seasons theme on your server, open the style.css the first element should be:
body {
margin:0;
padding:0;
color:#666666;
background-color:#f3f3f3;
font-family: Arial, "Trebuchet MS", Verdana;
font-size: 70%;
background-repeat:repeat-x;
background-position:top;
}
Just change the percentage in
font-size: 70%;to any percentage you wish.Thanks, for this..
I have been trying to figure out how to customize the menus for four seasons. I have a question though. I created a header region to be able to add block to the top/header, but still no access to the menus. I then created another region to go right above the header image where I can place the nice menu block. I want to use the nicemenu for the secondary menu. I can do what rpandey1 did & just substitute the primary for ..secondary_links. This shows the nice menu in the area where the secondary nav is usually(By the way rpaney's solution much easier than trying to get the header region accessible only to find menus stuff is not, boy was I off). My question(s):
Is there a way to make the nice menu look like the navigation-secondary div? I have already changed the nice menu css to match the colors,hover qualities just like the standard secondary nav that came with the theme...but it only shows the links & then stops & is has a gray border around it. I am trying to achieve the same look as the secondary nav where the navigation-secondary div extends across they entire page & get rid of the gray border.
Also is there a ways to get the child links to the primary link selected to show up automatically depending on what primary link is selected. Right now I can get the nice menu to show the secondary/child links to the primary links but only for 1 primary link at a time. Is there a way for it to know & display the child link links depending on primary selected instead of me having to create a seperate nice menu to show the children for each primary link?